package com.qiwo.bpm.domain;


import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.activerecord.Model;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 
 * <pre>
 *  @author  chenwenchao
 *  @date 2021-04-01 16:53:20
 * 流程功能
 * </pre>
 * <small> 2021-04-01 16:53:20 | chenwenchao</small>
 */
@Data
@SuppressWarnings("serial")
@TableName("flow_function")
@EqualsAndHashCode(callSuper=true) 
public class FlowFunction extends Model<FlowFunction> implements Serializable {
	@TableId
	private Long id;

    /** 流程分类 */
    @ApiModelProperty("流程分类")
    @TableField("flow_type")
    private Integer flowType;

    /** 功能编号 */
    @ApiModelProperty("功能编号")
    @TableField("code")
    private String code;

    /** 功能名称 */
    @ApiModelProperty("功能名称")
    @TableField("name")
    private String name;

    /** 备注 */
    @ApiModelProperty("备注")
    @TableField("remark")
    private String remark;

    /** 是否被选中 */
    @ApiModelProperty("是否被选中")
    @TableField("checked")
    private Integer checked;

        @Override
        protected Serializable pkVal(){
            return this.id;
        }
}
